.time-picker-panel {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: $f-text-04;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    font-feature-settings: 'tnum';
    position: absolute;
    z-index: 9999;

    .time-picker-panel-inner {
        position: relative;
        left: 0;
        font-size: 14px;
        text-align: left;
        list-style: none;
        background: #fff;
        margin: $f-cmp-timepicker-panel-spacer 0 0;
        background-clip: padding-box;
        border-radius: $f-cmp-timepicker-panel-border-radius;
        outline: 0;
        box-shadow: $f-cmp-timepicker-panel-box-shadow;

        .time-picker-panel-input-wrap {
            position: relative;
            padding: 7px 2px 7px 12px;
            border-bottom: 1px solid $f-cmp-timepicker-border-color;

            .time-picker-panel-input:placeholder-shown {
                text-overflow: ellipsis;
            }

            .time-picker-panel-input {
                width: 100%;
                max-width: 154px;
                margin: 0;
                padding: 0;
                line-height: normal;
                border: 0;
                outline: 0;
                cursor: auto;
            }
        }

        .time-picker-panel-combobox {
            zoom: 1;

            .time-picker-panel-select {
                
                @include f-scrollbarDefine();
                position: relative;
                float: left;
                width: $f-cmp-timepicker-column-width;
                max-height: 192px;
                overflow: hidden;
                font-size: 14px;
                border-left: 1px solid $f-cmp-timepicker-border-color;

                ul {
                    width: $f-cmp-timepicker-column-width;
                    margin: 0;
                    padding: 0 0 160px;
                    list-style: none;

                    li.time-picker-panel-select-option-selected {
                        background: $f-aid-02;
                        color: $f-theme-03;
                    }

                    li {
                        width: 100%;
                        height: $f-cmp-timepicker-block-size;
                        margin: 0;
                        padding: 0;
                        line-height: $f-cmp-timepicker-block-size;
                        text-align: center;
                        list-style: none;
                        cursor: pointer;
                        transition: all 0.3s;
                        user-select: none;
                        color: $f-text-02;

                        &:hover {
                            color: $f-theme-03;
                        }

                        &.time-picker-panel-select-option-disabled {
                            color: $f-text-07;

                            &:hover {
                                color: $f-text-07;
                            }
                        }
                    }
                }
            }

            .time-picker-panel-select:first-child {
                margin-left: 0;
                border-left: 0;
            }

            .time-picker-panel-select:last-child {
                border-right: 0;
            }

            .time-picker-panel-select:hover {
                overflow-y: auto;
            }
        }

        .time-picker-panel-combobox::after,
        .time-picker-panel-combobox::before {
            visibility: hidden;
            display: block;
            font-size: 0;
            content: ' ';
            clear: both;
            height: 0;
        }
    }
}

.calendar-time-picker {
    display: block;
    height: 228px;
    width: 100%;
    background-color: #fff;

    .calendar-time-picker-panel {
        z-index: 9999;
        width: 100%;
        color: rgba(0, 0, 0, 0.85);

        .calendar-time-picker-inner {
            position: relative;
            display: inline-block;
            width: 100%;
            overflow: hidden;
            font-size: 14px;
            line-height: 1.5;
            text-align: left;
            list-style: none;
            background-color: #fff;
            background-clip: padding-box;
            outline: 0;

            .calendar-time-picker-combobox {
                width: 100%;
                display: flex;

                .calendar-time-picker-column-3 .calendar-time-picker-select {
                    width: 33.33%;
                }

                .calendar-time-picker-select {
                    position: relative;
                    flex: 1;
                    height: 226px;
                    overflow: hidden;
                    font-size: 14px;
                    border-right: 1px solid $f-cmp-timepicker-border-color;

                    &:first-child {
                        margin-left: 0;
                        border-left: 0;
                    }

                    ul {
                        width: 100%;
                        max-height: 206px;
                        margin: 0;
                        padding: 0;
                        list-style: none;
                    }

                    li {
                        width: 100%;
                        height: 32px;
                        margin: 0;
                        line-height: 32px;
                        text-align: center;
                        list-style: none;
                        cursor: pointer;
                        transition: all 0.3s;
                        -webkit-user-select: none;
                        -moz-user-select: none;
                        -ms-user-select: none;
                        user-select: none;

                        &:hover {
                            color: $f-theme-03;
                        }

                        &:last-child::after {
                            display: block;
                            height: 202px;
                            content: '';
                        }

                        &.calendar-time-picker-select-option-selected {
                            color: $f-theme-03;
                            background: $f-aid-02;
                        }

                        &.calendar-time-picker-select-option-disabled {
                            color: $f-text-09;
                            background: #f8f9fa;
                            cursor: not-allowed;

                            &:hover {
                                color: $f-text-09;
                                background: #f8f9fa;
                                cursor: not-allowed;
                            }
                        }
                    }

                    &:hover {
                        overflow-y: auto;
                    }
                }
            }
        }
    }
}

.time-picker-overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 8888;
    display: none;

    .time-picker-panel-box {
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: 8888;
        flex-direction: column;
        min-width: 1px;
        min-height: 1px;
        transform: translate(0, 0)
    }
}

// 输入控件
.input-group .input-group-append {
    &.f-cmp-iconbtn-wrapper {
        align-items: center;
        background: #fff;

        .f-cmp-iconbtn {
            background: #fff;
            cursor: pointer;
            padding: 0 0.5rem;
            color: $f-text-08;

            &:hover {
                color: $f-theme-05;
            }

            &:active {
                color: $f-theme-03;
            }

            .f-icon {
                font-size: 0.75rem;
            }
        }
    }
}

.f-component-timepicker {

    .timepicker-btn {
        padding: 0 0.5rem;
        color: $f-text-07;

        &:hover {
            color: $f-theme-05;
        }

    }
}